var deadline = new Date("2/3/2011");
var symbol = "2月3日";
var now = new Date();
var leave = deadline.getTime() - now.getTime();
var day = Math.floor(leave / (1000 * 60 * 60 * 24));
if (day > 0)
	document.write("今天离2011年春节" + symbol + "还有" + day + "天");
else if (day == 0)
	document.write("只有1天啦！");
else
	document.write("倒计时已经过期了！");
